package com.hspedu.qqserver.service;

import java.util.HashMap;

/**
 * @author DL5O
 * @version 1.0
 * 该类用于管理和客服端通讯的线程
 */
public class ManageServerConnectClientThread {
    private static HashMap<String,ServerConnectClientThread> hm = new HashMap<>();


    //添加线程对象到 hm集合
    public static void addServerConnectClientThread(String userId,ServerConnectClientThread scct){
        hm.put(userId,scct);
    }

    public static ServerConnectClientThread getServerConnectClientThread(String userId){
        return hm.get(userId);
    }


}
